import layout from '@/layout'
export default {
  path: '/employee',
  component: layout,
  name: 'employee',
  children: [{
    path: '',
    component: () => import('@/views/employee'),
    name: '',
    meta: {
      icon: 'people',
      title: '员工'
    }
  }, {
    path: '/employee/detail/:id?', // 员工详情
    component: () => import('@/views/employee/detail.vue'),
    hidden: true, // 标是隐藏左侧显示效果
    meta: {
      title: '员工详情' // 显示在导航的文本
    }
  }]
}

